package Message.Public
{
    import Framework.MQ.*;
    import Framework.Serialize.*;

    public class SCopyRefresh extends Object implements IMessageBase
    {
        public var type:EBossRefreshType;
        public var num:int;
        public var reserveInt3:int;
        public var reserveInt4:int;
        public const _type:int = 20427;
        public static var _regist:SCopyRefresh = new SCopyRefresh(true);

        public function SCopyRefresh(param1:Boolean = false)
        {
            if (param1)
            {
                MessageManager.instance().regist(this);
            }
            
        }

        public function getType() : int
        {
            return this._type;
        }

        public function clone() : IMessageBase
        {
            return new SCopyRefresh();
        }

        public function __write(param1:SerializeStream) : void
        {
            this.type.__write(param1);
            param1.writeInt(this.num);
            param1.writeInt(this.reserveInt3);
            param1.writeInt(this.reserveInt4);
            
        }

        public function __read(param1:SerializeStream) : void
        {
            this.type = EBossRefreshType.__read(param1);
            this.num = param1.readInt();
            this.reserveInt3 = param1.readInt();
            this.reserveInt4 = param1.readInt();
            
        }

    }
}
